package com.chenxiao.Command;

/**
 * @Author: CX
 * @Date: Created in  2024/04/03 11:17
 * @version: v1.0
 * @Description: TODO 调用者类
 **/
public class Invoker {
    private Command command;
    public Invoker(Command command) {
        this.command = command;
    }
    public void action() {
        command.execute();
    }

}
